package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电梯信息对象 elevator_info
 * 
 * @author ruoyi
 * @date 2023-12-17
 */
public class ElevatorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long elevatorId;

    /** 注册代码 */
    private String registrationCode;

    /** 制造单位 */

    private String manufacturer;

    /** 制造单位 */

    private String user;

    /** 设备地址 */
    private String address;
    private String isSet;
    private Integer isNfcid;

    /** 投用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date commissioningDate;

    /** 电梯保险信息 */
    private String insuranceInfo;

    /** 保险有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date insuranceValidity;

    /** 检验机构 */
    private String inspectionAgency;

    /** 上次检验日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastInspectionDate;

    /** 检验结论 */
    private String inspectionResult;

    /** 本次检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date currentInspectionDate;

    /** 下次检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nextInspectionDate;

    /** 维保单位 */

    private String maintenanceCompany;

    /** 上次维保日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastMaintenanceDate;

    /** 下次维保日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nextMaintenanceDate;

    /** nfc编号 */
    @Excel(name = "nfc编号", type = Excel.Type.ALL)
    private String nfcid;

    /** 电梯类型（直梯、扶梯与自动人行道、杂物电梯） */
    @Excel(name = "电梯类型", type = Excel.Type.ALL)
    private String DTLX;

    /** 设备注册代码 */
    @Excel(name = "设备注册代码",type = Excel.Type.ALL)
    private String SBZCDM;

    /** 电梯编号 */
    @Excel(name = "电梯编号",type = Excel.Type.ALL)
    private String DTBH;

    /** 维保单位名称 */
    @Excel(name = "维保单位",type = Excel.Type.ALL)
    private String WBDWMC;

    /** 使用单位名称 */
    @Excel(name = "使用单位",type = Excel.Type.ALL)
    private String SYDWMC;

    /** 设备所在区县 */
    @Excel(name = "设备所在区县")
    private String SBSZDQ;

    /** 设备安装地址信息 */
    @Excel(name = "设备安装地址",type = Excel.Type.ALL)
    private String SBAZDD;

    /** 二维码地址 */
    @Excel(name = "二维码地址",type = Excel.Type.EXPORT)
    private String qrcode;

    /**
     * 省
     * @param elevatorId
     */
    private String province;

    /**
     * 市
     * @param elevatorId
     */

    private String city;
    private Integer count;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getIsNfcid() {
        return isNfcid;
    }

    public void setIsNfcid(Integer isNfcid) {
        this.isNfcid = isNfcid;
    }

    public String getIsSet() {
        return isSet;
    }

    public void setIsSet(String isSet) {
        this.isSet = isSet;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setElevatorId(Long elevatorId)
    {
        this.elevatorId = elevatorId;
    }

    public Long getElevatorId() 
    {
        return elevatorId;
    }
    public void setRegistrationCode(String registrationCode) 
    {
        this.registrationCode = registrationCode;
    }

    public String getRegistrationCode() 
    {
        return registrationCode;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCommissioningDate(Date commissioningDate) 
    {
        this.commissioningDate = commissioningDate;
    }

    public Date getCommissioningDate() 
    {
        return commissioningDate;
    }
    public void setInsuranceInfo(String insuranceInfo) 
    {
        this.insuranceInfo = insuranceInfo;
    }

    public String getInsuranceInfo() 
    {
        return insuranceInfo;
    }
    public void setInsuranceValidity(Date insuranceValidity) 
    {
        this.insuranceValidity = insuranceValidity;
    }

    public Date getInsuranceValidity() 
    {
        return insuranceValidity;
    }
    public void setInspectionAgency(String inspectionAgency) 
    {
        this.inspectionAgency = inspectionAgency;
    }

    public String getInspectionAgency() 
    {
        return inspectionAgency;
    }
    public void setLastInspectionDate(Date lastInspectionDate) 
    {
        this.lastInspectionDate = lastInspectionDate;
    }

    public Date getLastInspectionDate() 
    {
        return lastInspectionDate;
    }
    public void setInspectionResult(String inspectionResult) 
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult() 
    {
        return inspectionResult;
    }
    public void setCurrentInspectionDate(Date currentInspectionDate) 
    {
        this.currentInspectionDate = currentInspectionDate;
    }

    public Date getCurrentInspectionDate() 
    {
        return currentInspectionDate;
    }
    public void setNextInspectionDate(Date nextInspectionDate) 
    {
        this.nextInspectionDate = nextInspectionDate;
    }

    public Date getNextInspectionDate() 
    {
        return nextInspectionDate;
    }
    public void setMaintenanceCompany(String maintenanceCompany) 
    {
        this.maintenanceCompany = maintenanceCompany;
    }

    public String getMaintenanceCompany() 
    {
        return maintenanceCompany;
    }
    public void setLastMaintenanceDate(Date lastMaintenanceDate) 
    {
        this.lastMaintenanceDate = lastMaintenanceDate;
    }

    public Date getLastMaintenanceDate() 
    {
        return lastMaintenanceDate;
    }
    public void setNextMaintenanceDate(Date nextMaintenanceDate) 
    {
        this.nextMaintenanceDate = nextMaintenanceDate;
    }

    public Date getNextMaintenanceDate() 
    {
        return nextMaintenanceDate;
    }
    public void setNfcid(String nfcid) 
    {
        this.nfcid = nfcid;
    }

    public String getNfcid() 
    {
        return nfcid;
    }
    public void setDTLX(String DTLX) 
    {
        this.DTLX = DTLX;
    }

    public String getDTLX() 
    {
        return DTLX;
    }
    public void setSBZCDM(String SBZCDM) 
    {
        this.SBZCDM = SBZCDM;
    }

    public String getSBZCDM() 
    {
        return SBZCDM;
    }
    public void setDTBH(String DTBH) 
    {
        this.DTBH = DTBH;
    }

    public String getDTBH() 
    {
        return DTBH;
    }
    public void setWBDWMC(String WBDWMC) 
    {
        this.WBDWMC = WBDWMC;
    }

    public String getWBDWMC() 
    {
        return WBDWMC;
    }
    public void setSYDWMC(String SYDWMC) 
    {
        this.SYDWMC = SYDWMC;
    }

    public String getSYDWMC() 
    {
        return SYDWMC;
    }
    public void setSBSZDQ(String SBSZDQ) 
    {
        this.SBSZDQ = SBSZDQ;
    }

    public String getSBSZDQ() 
    {
        return SBSZDQ;
    }
    public void setSBAZDD(String SBAZDD) 
    {
        this.SBAZDD = SBAZDD;
    }

    public String getSBAZDD() 
    {
        return SBAZDD;
    }
    public void setQrcode(String qrcode) 
    {
        this.qrcode = qrcode;
    }

    public String getQrcode() 
    {
        return qrcode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("elevatorId", getElevatorId())
            .append("registrationCode", getRegistrationCode())
            .append("manufacturer", getManufacturer())
            .append("user", getUser())
            .append("address", getAddress())
            .append("commissioningDate", getCommissioningDate())
            .append("insuranceInfo", getInsuranceInfo())
            .append("insuranceValidity", getInsuranceValidity())
            .append("inspectionAgency", getInspectionAgency())
            .append("lastInspectionDate", getLastInspectionDate())
            .append("inspectionResult", getInspectionResult())
            .append("currentInspectionDate", getCurrentInspectionDate())
            .append("nextInspectionDate", getNextInspectionDate())
            .append("maintenanceCompany", getMaintenanceCompany())
            .append("lastMaintenanceDate", getLastMaintenanceDate())
            .append("nextMaintenanceDate", getNextMaintenanceDate())
            .append("nfcid", getNfcid())
            .append("DTLX", getDTLX())
            .append("SBZCDM", getSBZCDM())
            .append("DTBH", getDTBH())
            .append("WBDWMC", getWBDWMC())
            .append("SYDWMC", getSYDWMC())
            .append("SBSZDQ", getSBSZDQ())
            .append("SBAZDD", getSBAZDD())
            .append("qrcode", getQrcode())
            .toString();
    }
}
